home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / tabplot.arc / TAB_PLOT.DOC next >
Text File  |  1988-05-01  |  3KB  |  61 lines

  1. TAB_PLOT version 0.2                                    April 1988
  2. written by Robert Best, Aragon 1, 3831ET Leusden, Nederland
  3.  
  4. TAB_PLOT converts a number table into a XY-plot. Run TAB_PLOT.PRG, 
  5. and  select TABLE_1.DOC.  A plot will appear after a few  seconds, 
  6. and a menu-bar to edit, save, etc.
  7.  
  8. The initial plot.
  9.  
  10. TAB_PLOT calculates the number of rows and columns of the table.
  11. If there are just 2 columns, like in TABLE_1.DOC, the first is 
  12. taken as X- and the second as Y-coordinates.
  13. If there are 3 columns, the plot will have two Y-axes (left and 
  14. right) and two curves are drawn with the 2-nd and 3-rd column as 
  15. Y-coordinates.
  16. If there are more than 3 columns, like in TABLE_2.DOC, TAB_PLOT 
  17. asks which column should be X, etc.
  18. TAB_PLOT determines the range of X- and Y-values for scaling. 
  19.  
  20. The menu.
  21.  
  22. Most points are evident. Additional information:
  23. Save: on disk in DEGAS format.
  24. Xleft: left boundary of X-axis. Must be less than Xright.
  25.      If Xleft is not positive, Xlog is inactive.
  26.      If Xlog is active, Xleft must be positive.
  27. Xdiv: number of divisions along linear X scale.
  28. Xlog: logscale on X-axis, can be used only if all X values and 
  29.      Xleft are positive.
  30. Text movable: at arrow point until mouse button is clicked.
  31. XYY-columns: new plot of any 2 columns as functions of any column. 
  32. Nr of rows:  new plot using shorter columns.
  33.       Nr of rows must be at least 2 and at most the initial number.
  34. Next: select another table.
  35.  
  36. Number table.
  37.  
  38. Constraints on the form are minimal, but note the following.
  39. TAB_PLOT scans the file initially for a table header "===".
  40. If it finds ===, everything preceding === is ignored like in 
  41. TABLE_2.DOC. If it does not find ===, the first number in the file 
  42. is taken as the first number of the table.
  43. A row of numbers must be terminated by ASCII 13 because TAB_PLOT 
  44. uses this to count the rows.
  45. TAB_PLOT assumes that numbers are separated by at least one space. 
  46. This applies also to the last number of a row and the first number 
  47. of the next row. More spaces and other characters are allowed 
  48. between numbers, but a dot, digit or minus sign is assumed to 
  49. start a number.
  50. The last row of the table may be followed by text, but extra 
  51. digits spoil the initial plot as TAB_PLOT mis-calculates the 
  52. number of rows. This can be repaired, however, by giving the 
  53. correct Nr of rows later on.
  54.  
  55. TAB_PLOT.LST
  56.  
  57. The GFA BASIC source code is added in case you want to adapt the 
  58. program to your needs.
  59.  
  60.  
  61.